<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set value="${pageContext.request.contextPath}" var="ctx" />
<%@page import="cn.easybuy.entity.User"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="../statics/css/style.css" />
<link rel="stylesheet" type="text/css"
	href="../statics/css/ShopShow.css" />
<link rel="stylesheet" type="text/css"
	href="../statics/css/MagicZoom.css" />
<script type="text/javascript" src="../statics/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="../statics/js/menu.js"></script>
<script type="text/javascript" src="../statics/js/lrscroll_1.js"></script>
<script type="text/javascript" src="../statics/js/n_nav.js"></script>
<script type="text/javascript" src="../statics/js/cart.js"></script>
<script type="text/javascript" src="../statics/js/MagicZoom.js"></script>
<script type="text/javascript" src="../statics/js/num.js">
	var jq = jQuery.noConflict();
	
</script>
<script type="text/javascript" src="../statics/js/p_tab.js"></script>
<script type="text/javascript" src="../statics/js/shade.js"></script>
<script type="text/javascript">
var contextPath = "${ctx}";
</script>
<title>二组牛逼</title>
</head>
<body>
	<!--Begin Header Begin-->
	<div class="soubg">
		<div class="sou">
			<c:if test="${sessionScope.LoginUser!=null }">
				<span class="fr"> <span class="fl">欢迎${sessionScope.LoginUser.loginName
						}登录</a>&nbsp; <a href="../backend/Member.jsp" style="color:#ff4e00;">进入后台</a><a
						href="UserLogin?opr=exit" style="color:#ff4e00;"> &nbsp;注销</a> </span> 
			</c:if>
			<c:if test="${sessionScope.LoginUser==null }">
				<span class="fr"> <span class="fl">请<a href="Login.jsp">登录</a>&nbsp;</span>
			</c:if>
		</div>
	</div>

	<div id="TestOne">
		<%@ include file="../common/top.jsp"%>
	</div>
	<%@include file="../common/Category.jsp"%>
	<!--End Menu End-->
	<div class="i_bg">
		<br />
		<div class="content">
			<div id="tsShopContainer">
				<div id="tsImgS">
					<a href="../statics/productImg/${product.fileName}" title="Images"
						class="MagicZoom" id="MagicZoom"><img
						src="../statics/productImg/${product.fileName}" width="390"
						height="390" /> </a>
				</div>
				<img class="MagicZoomLoading" width="16" height="16"
					src="statics/images/loading.gif" alt="Loading..." />
			</div>
			<div class="pro_des">
				<div class="des_name">
					<p>${product.name }</p>
					${product.description }
				</div>
				<div class="des_price">
					本店价格：<b>￥${product.price}</b><br />
				</div>
				<div class="des_price">
					本店库存：<b>${product.stock}件</b><br />
				</div>
				<div class="des_share">
					<div class="d_sh">
						分享
						<div class="d_sh_bg">
							<a href="#"><img src="../statics/images/sh_1.gif" /> </a> <a
								href="#"><img src="../statics/images/sh_2.gif" /> </a> <a
								href="#"><img src="../statics/images/sh_3.gif" /> </a> <a
								href="#"><img src="../statics/images/sh_4.gif" /> </a> <a
								href="#"><img src="../statics/images/sh_5.gif" /> </a>
						</div>
					</div>
					<div class="d_care">
						<a href="ProductServlet?action=AddSC&id=${product.id }">关注商品</a>
					</div>
				</div>
				<div class="des_join">
					<div class="j_nums">
						<input type="hidden" value="${product.id}" name="entityId" /> <input
							type="text" value="1" name="quantity" class="n_ipt" /> <input
							type="button" onclick="addUpdate(jq(this));" class="n_btn_1" />
						<input type="button" onclick="jianUpdate(jq(this));"
							class="n_btn_2" />
					</div>
					<span class="fl"><a href="javascript:addCart()"><img
							src="../statics/images/j_car.png" /> </a> </span>
				</div>
			</div>

			<div class="s_brand">
				<div class="s_brand_img">
					<img src="../statics/images/product_lf.jpg" width="188"
						height="132" />
				</div>
				<div class="s_brand_c">
					<a href="http://www.12315.cn/">打击假货，人人有责</a>
				</div>
			</div>


		</div>
		<div class="content mar_20">
			<div class="l_history">
				<div class="fav_t">祝各位校领导</div>
				<img src="../statics/images/xnkl.png"></img>
			</div>
			<div class="l_list">
				<div class="des_border">
					<div class="des_tit">
						<ul>
							<li class="current"><a href="#p_attribute">商品属性</a></li>
							<li><a href="#p_details">商品详情</a></li>
						</ul>
					</div>
					<div class="des_con" id="p_attribute">

						<table border="0" align="center"
							style="width:100%; font-family:'宋体'; margin:10px auto;"
							cellspacing="0" cellpadding="0">
							<tr>
								<td>商品名称：${product.name }</td>
								<td>商品编号：${product.id }</td>
								<td>品牌：假货</td>
							</tr>
						</table>
					</div>
				</div>

				<div class="des_border" id="p_details">
					<div class="des_t">商品详情</div>
					<div class="des_con">
						<table border="0" align="center"
							style="width:745px; font-size:14px; font-family:'宋体';"
							cellspacing="0" cellpadding="0">
							<tr>
								<td width="265"><img
									src="../statics/productImg/${product.fileName}" width="206"
									height="412" /></td>
								<td><b>${product.name }</b><br />【商品编号】：${product.id }<br />【商品品牌】：假货<br />
									【商品产地】：中国<br />【商品介绍】：${product.description }
							</tr>
						</table>
					</div>
				</div>
			</div>
		</div>


		<!--Begin 弹出层-收藏成功 Begin-->
		<div id="fade" class="black_overlay"></div>
		<div id="MyDiv" class="white_content">
			<div class="white_d">
				<div class="notice_t">
					<span class="fr" style="margin-top:10px; cursor:pointer;"
						onclick="CloseDiv('MyDiv','fade')"><img
						src="../statics/images/close.gif" /> </span>
				</div>
				<div class="notice_c">

					<table border="0" align="center" style="margin-top:;"
						cellspacing="0" cellpadding="0">
						<tr valign="top">
							<td width="40"><img src="../statics/images/suc.png" /></td>
							<td><span
								style="color:#3e3e3e; font-size:18px; font-weight:bold;">您已成功收藏该商品</span><br />
								<a href="#">查看我的关注 >></a>
							</td>
						</tr>
						<tr height="50" valign="bottom">
							<td>&nbsp;</td>
							<td><a href="#" class="b_sure">确定</a></td>
						</tr>
					</table>

				</div>
			</div>
		</div>
		<!--End 弹出层-收藏成功 End-->


		<!--Begin 弹出层-加入购物车 Begin-->
		<div id="fade1" class="black_overlay"></div>
		<div id="MyDiv1" class="white_content">
			<div class="white_d">
				<div class="notice_t">
					<span class="fr" style="margin-top:10px; cursor:pointer;"
						onclick="CloseDiv_1('MyDiv1','fade1')"><img
						src="../statics/images/close.gif" /> </span>
				</div>
				<div class="notice_c">

					<table border="0" align="center" style="margin-top:;"
						cellspacing="0" cellpadding="0">
						<tr valign="top">
							<td width="40"><img src="../statics/images/suc.png" /></td>
							<td><span
								style="color:#3e3e3e; font-size:18px; font-weight:bold;">宝贝已成功添加到购物车</span><br />
								购物车共有1种宝贝（3件） &nbsp; &nbsp; 合计：1120元</td>
						</tr>
						<tr height="50" valign="bottom">
							<td>&nbsp;</td>
							<td><a href="#" class="b_sure">去购物车结算</a><a href="#"
								class="b_buy">继续购物</a></td>
						</tr>
					</table>
				</div>
			</div>
		</div>
		<!--End 弹出层-加入购物车 End-->
	</div>

</body>

<script src="../statics/js/ShopShow.js"></script>

<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
</html>
